.class Lcom/hyphenate/chat/EMChatManager$1;
.super Lcom/hyphenate/chat/adapter/EMAChatManagerListener;


# instance fields
.field final synthetic this$0:Lcom/hyphenate/chat/EMChatManager;


# direct methods
.method constructor <init>(Lcom/hyphenate/chat/EMChatManager;)V
    .locals 0

    iput-object p1, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    invoke-direct {p0}, Lcom/hyphenate/chat/adapter/EMAChatManagerListener;-><init>()V

    return-void
.end method


# virtual methods
.method public onMessageAttachmentsStatusChanged(Lcom/hyphenate/chat/adapter/message/EMAMessage;Lcom/hyphenate/chat/adapter/EMAError;)V
    .locals 5

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    # getter for: Lcom/hyphenate/chat/EMChatManager;->messageListeners:Ljava/util/List;
    invoke-static {v0}, Lcom/hyphenate/chat/EMChatManager;->access$000(Lcom/hyphenate/chat/EMChatManager;)Ljava/util/List;

    move-result-object v1

    monitor-enter v1

    :try_start_0
    new-instance v2, Lcom/hyphenate/chat/EMMessage;

    invoke-direct {v2, p1}, Lcom/hyphenate/chat/EMMessage;-><init>(Lcom/hyphenate/chat/adapter/message/EMAMessage;)V

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    # getter for: Lcom/hyphenate/chat/EMChatManager;->messageListeners:Ljava/util/List;
    invoke-static {v0}, Lcom/hyphenate/chat/EMChatManager;->access$000(Lcom/hyphenate/chat/EMChatManager;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v3

    :goto_0
    invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/hyphenate/EMMessageListener;

    const/4 v4, 0x0

    invoke-interface {v0, v2, v4}, Lcom/hyphenate/EMMessageListener;->onMessageChanged(Lcom/hyphenate/chat/EMMessage;Ljava/lang/Object;)V

    goto :goto_0

    :catchall_0
    move-exception v0

    monitor-exit v1
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v0

    :cond_0
    :try_start_1
    monitor-exit v1
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    return-void
.end method

.method public onMessageStatusChanged(Lcom/hyphenate/chat/adapter/message/EMAMessage;Lcom/hyphenate/chat/adapter/EMAError;)V
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    iget-object v0, v0, Lcom/hyphenate/chat/EMChatManager;->mClient:Lcom/hyphenate/chat/EMClient;

    new-instance v1, Lcom/hyphenate/chat/EMChatManager$1$3;

    invoke-direct {v1, p0, p1}, Lcom/hyphenate/chat/EMChatManager$1$3;-><init>(Lcom/hyphenate/chat/EMChatManager$1;Lcom/hyphenate/chat/adapter/message/EMAMessage;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->executeOnMainQueue(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onReceiveCmdMessages(Ljava/util/List;)V
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    iget-object v0, v0, Lcom/hyphenate/chat/EMChatManager;->mClient:Lcom/hyphenate/chat/EMClient;

    new-instance v1, Lcom/hyphenate/chat/EMChatManager$1$2;

    invoke-direct {v1, p0, p1}, Lcom/hyphenate/chat/EMChatManager$1$2;-><init>(Lcom/hyphenate/chat/EMChatManager$1;Ljava/util/List;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->executeOnMainQueue(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onReceiveError(Lcom/hyphenate/chat/adapter/message/EMAMessage;Lcom/hyphenate/chat/adapter/EMAError;)V
    .locals 0

    return-void
.end method

.method public onReceiveHasDeliveredAcks(Ljava/util/List;)V
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    iget-object v0, v0, Lcom/hyphenate/chat/EMChatManager;->mClient:Lcom/hyphenate/chat/EMClient;

    new-instance v1, Lcom/hyphenate/chat/EMChatManager$1$5;

    invoke-direct {v1, p0, p1}, Lcom/hyphenate/chat/EMChatManager$1$5;-><init>(Lcom/hyphenate/chat/EMChatManager$1;Ljava/util/List;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->executeOnMainQueue(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onReceiveHasReadAcks(Ljava/util/List;)V
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    iget-object v0, v0, Lcom/hyphenate/chat/EMChatManager;->mClient:Lcom/hyphenate/chat/EMClient;

    new-instance v1, Lcom/hyphenate/chat/EMChatManager$1$4;

    invoke-direct {v1, p0, p1}, Lcom/hyphenate/chat/EMChatManager$1$4;-><init>(Lcom/hyphenate/chat/EMChatManager$1;Ljava/util/List;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->executeOnMainQueue(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onReceiveMessages(Ljava/util/List;)V
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    iget-object v0, v0, Lcom/hyphenate/chat/EMChatManager;->mClient:Lcom/hyphenate/chat/EMClient;

    new-instance v1, Lcom/hyphenate/chat/EMChatManager$1$1;

    invoke-direct {v1, p0, p1}, Lcom/hyphenate/chat/EMChatManager$1$1;-><init>(Lcom/hyphenate/chat/EMChatManager$1;Ljava/util/List;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->executeOnMainQueue(Ljava/lang/Runnable;)V

    return-void
.end method

.method public onUpdateConversationList(Ljava/util/List;)V
    .locals 2

    iget-object v0, p0, Lcom/hyphenate/chat/EMChatManager$1;->this$0:Lcom/hyphenate/chat/EMChatManager;

    iget-object v0, v0, Lcom/hyphenate/chat/EMChatManager;->mClient:Lcom/hyphenate/chat/EMClient;

    new-instance v1, Lcom/hyphenate/chat/EMChatManager$1$6;

    invoke-direct {v1, p0}, Lcom/hyphenate/chat/EMChatManager$1$6;-><init>(Lcom/hyphenate/chat/EMChatManager$1;)V

    invoke-virtual {v0, v1}, Lcom/hyphenate/chat/EMClient;->executeOnMainQueue(Ljava/lang/Runnable;)V

    return-void
.end method
